import React, { Component, PureComponent } from 'react'
import TaskFunc from './TaskFunc'
export default class TaskList extends PureComponent {
  
  render() {
    console.log('taskList')
    const ts = this.props.tasks.map((item,i)=>
    <TaskFunc key={i} {...item}></TaskFunc>
    )
    return (
      <div>
        {ts}
      </div>
    )
  }
}
